All Questions
Tagged with testingacceptance-testing
49 questions
-3votes
2answers
362views
Why are logs not used for testing? [closed]
In tests, state verification or collaboration verification is usually undertaken. One of the drawbacks of this approach is the coupling of tests to the design of constructs. Consequently, when ...
2votes
2answers
648views
Does the "Pyramid of tests" contradict the idea of tests focusing on behaviour?
I am talking about these two testing strategies : Have a pyramid of tests (with many more unit tests than high-level tests), because high level tests are harder to maintain and slower (see also : ...
0votes
2answers
494views
How to reset state of exernal services when running Acceptance tests
What are the generic patterns and best practices for resetting state of a database, storage, external service, etc, in Acceptance Tests? I'm struggling with spaghetti, living in acceptance tests. It ...
3votes
1answer
85views
Structuring user story tests with variations
I'm writing the sort of tests which go through a whole user scenario e.g. User clicks "edit profile" User edits their name etc. However, I find myself needing often needing to test small ...
-3votes
3answers
300views
How to know if I need a unit test? [duplicate]
Do I need unit testing for everything? I know that Unit testing is not necessary for really small tasks, but what about for bigger stuff? How do I know I need a unit test?
-2votes
2answers
77views
How do I model all the different states of a widget for testing?
Say I am a QA person so I have no control over the complexity of the code in the following example. I have a datatable widget with many different filtering and searching options. All the columns on ...
20votes
7answers
5kviews
Is it a good idea to write all possible test cases after transforming the team to TDD to achieve a full coverage?
Assume we have a large enterprise-level application without any unit/functional tests. There was no test-driven development process during the development due to very tight deadlines (I know we should ...
3votes
2answers
665views
Test Internals with TDD?
I'm new to TDD, and relatively new to software development in general (e.g. < 4 years experience), but I am trying to learn. I have been toying with TDD but ran into what I know realize is a ...
12votes
2answers
682views
Is software testing different when we are dealing with game development?
I was reading this paper about the differences between software development in general and game development and the authors made some good points regarding software testing, pointing out, for instance,...
3votes
3answers
1kviews
How should I manipulate the database from within an integration test?
I have an integration test that needs to tweak some values on the database. This sort of tweak is not needed for the real application, only to setup the test scenario. The dilemma: Should I ...
3votes
4answers
984views
In a testing phase,can I raise a defect which has occured due to deployment issues?
For an example, In a testing phase if i got a defect which is due to some delayed job restarting,can I raise it as a bug? In our project,devteam merges and deploy their codes into test site. usually ...
3votes
3answers
218views
Do tests that asserts a user can't do an action have any value?
Given a system with static permissions (1 permission for every action that can be made: create a resource, update a resource, etc), and dynamic roles (can be created and assign permissions to it ...
3votes
2answers
139views
How to test a web app (inc write paths) for acceptance or integration tests, without db access?
We are having problems in testing routes that modify the data in our API. For example the test that deletes a resource will fail if run the second time. Also due to business logic you can't create ...
10votes
3answers
399views
Is creating a completely duplicate system for quality assurance (QA) of another a bad practice?
At work we have a quite complicated system. Let's call this system, System_A. Our QA team has created another system, call this system, System_B, to test System_A. The way System_B is used is as ...
1vote
1answer
265views
Howto structure my app.js code to make it easier testable
I have a couple of Philip Hue lights in the hallway. These show the build status on their lights with a small Node.JS application. Its working like a charm. Currently I am in the process of testing ...